package com.sci.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sci.entity.Shipment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ShipmentMapper extends BaseMapper<Shipment> {
    // 根据wechat_id查询所有记录
    @Select("SELECT * FROM shipment WHERE wechat_id = #{wechatId}")
    List<Shipment> selectByWechatId(String wechatId);
}
